    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
	  <html xmlns="http://www.w3.org/1999/xhtml">
	    <head>
		    <link rel="stylesheet" type="text/css" href="Styles/spsfbranding.css"/>				
		    		<title>Feature Stapling</title>
				<meta name="Description" content="Adds a FeatureSitetemplateAssocation to the selected feature" />
		<style type="text/css">

		.OH_TocResize
		{	
			top: 126px;
		}

		</style>
	</head>	
	<body class="primary-mtps-offline-document">
	<table height="93" width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="height:93px; background-image: url('./_img/header_background.jpg'); background-repeat: repeat-x;"><img src="./_img/header_left.jpg" /></td><td valign="right" style="height:93px; background-image: url('./_img/header_background.jpg'); background-repeat: repeat-x; text-align: right;"><img src="./_img/header_right.jpg" /></td></tr></table><div class="OH_outerDiv">
			<div style="WIDTH: 280px" id="LeftNav" class="OH_leftNav">
				<div id="toc">
					<div id="toc_parent">
						<div class="OH_parentTocLinks"><a title="SharePoint Software Factory 2010" href="SPSF_ROOT.html">SharePoint Software Factory 2010</a><br/><a title="Recipe Index" href="SPSF_RECIPES_INDEX.html">Recipe Index</a><br/><a title="SPSF Artefacts" href="SPSF_RECIPES_CATEGORY_ARTEFACTS.html">SPSF Artefacts</a><br/><a title="Webs and Sites" href="SPSF_RECIPES_CATEGORY_SITES.html">Webs and Sites</a><br/></div></div>					
						<div id="toc_children">
							<div class="OH_selfTocLinks"><a title="Team Site Definition" href="SPSF_RECIPE_TEAMSITEDEFINITION.html">Team Site Definition</a><br /><a title="Blank Site Definition" href="SPSF_RECIPE_BLANKSITEDEFINITION.html">Blank Site Definition</a><br /><div title="Feature Stapling" class="OH_selectedChild">Feature Stapling</div></div></div><div id="toc_siblings"><div class="OH_siblingTocHeader">Related Links</DIV><div class="OH_siblingTocLinks"><a title="MSDN: Stapling Features to Site Definitions" href="http://msdn.microsoft.com/en-us/library/dd206907.aspx">MSDN: Stapling Features to Site Definitions</a><br /><a title="Chris O'Brien: Feature Stapling " href="http://www.sharepointnutsandbolts.com/2007/05/feature-stapling.html">Chris O'Brien: Feature Stapling </a><br /><a title="Chris Johnson: Feature Stapling in WSS V3" href="http://blogs.msdn.com/cjohnson/archive/2006/11/01/feature-stapling-in-wss-v3.aspx">Chris Johnson: Feature Stapling in WSS V3</a><br /><a title="MS SharePoint Team Blog: Customizing MOSS 2007 My Sites within the enterprise" href="http://blogs.msdn.com/sharepoint/archive/2007/03/22/customizing-moss-2007-my-sites-within-the-enterprise.aspx">MS SharePoint Team Blog: Customizing MOSS 2007 My Sites within the enterprise</a><br /><a title="Definition Schema" href="http://msdn.microsoft.com/en-us/library/bb861862.aspx">Definition Schema</a><br />							<br /></div></div></div></div><div style="LEFT: 279px" id="TocResize" class="OH_TocResize"></div>
				<div class="OH_outerContent">
				  
		<div class="OH_topic">		 
     
		  <div class="OH_title">
			<table>
			  <tbody>
				<tr>
				  <td class="OH_tdTitleColumn">
					<div class="subHeading"><small>SharePoint Software Factory 2010</small></div><br />
					Feature Stapling
				  </td>
				  <td class="OH_tdLogoColumn">
				  				  </td>
				</tr>
			  </tbody>
			</table>
		  </div>
		</div>
		<div id="mainSection">
			<div id="mainBody">            
				<div class="introduction"><p>Adds a FeatureSitetemplateAssocation to the selected feature</p></div>
				




                      <DIV class="OH_CollapsibleAreaRegion">
					        <DIV class="OH_regiontitle">Recipe Description</DIV>
					        <DIV class="OH_RegionToggle"></DIV>
				        </DIV>
				        <DIV class="OH_clear"></DIV>
				        <p>
                        Stapling SharePoint features with site definitions, which relies on the FeatureSiteTemplateAssociation element, allows developers to attach features to both standard and custom site definitions without directly modifying them. <br />          Every new site that is based on a site definition with a stapled feature is created with that feature activated. <br />          Feature stapling is particularly useful when you want to add functionality to standard site definitions because editing standard site definition files is not a recommended practice. (Source: MSDN)
				        </p>
				                   
                           <DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">Arguments</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
                <table id="argumentTable" width="100%">
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                    </tr>							<tr>
								<td class="name" colspan="2">Feature Associations</td>
							</tr>                
														<tr>
								<td>Feature</td>
								<td>Required Feature. Feature to which the previously selected feature should be stapled to.</td>
							</tr>                
														<tr>
								<td>Site Template</td>
								<td>Optional Site Definition. Site Definition to which the previously selected feature should be stapled to.</td>
							</tr>                
							                </table>
				</p>
                           
				<DIV class="OH_CollapsibleAreaRegion">
					<DIV class="OH_regiontitle">References</DIV>
					<DIV class="OH_RegionToggle"></DIV>
				</DIV>
				<DIV class="OH_clear"></DIV>
				<p>
				<ul>
				<li>
						<a href="http://msdn.microsoft.com/en-us/library/dd206907.aspx" target="_new">MSDN: Stapling Features to Site Definitions</a>
					</li>
					<li>
						<a href="http://www.sharepointnutsandbolts.com/2007/05/feature-stapling.html" target="_new">Chris O'Brien: Feature Stapling </a>
					</li>
					<li>
						<a href="http://blogs.msdn.com/cjohnson/archive/2006/11/01/feature-stapling-in-wss-v3.aspx" target="_new">Chris Johnson: Feature Stapling in WSS V3</a>
					</li>
					<li>
						<a href="http://blogs.msdn.com/sharepoint/archive/2007/03/22/customizing-moss-2007-my-sites-within-the-enterprise.aspx" target="_new">MS SharePoint Team Blog: Customizing MOSS 2007 My Sites within the enterprise</a>
					</li>
					<li>
						<a href="http://msdn.microsoft.com/en-us/library/bb861862.aspx" target="_new">Definition Schema</a>
					</li>
					                
			   </ul></p>
			              <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Authors</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
			<p>
           <ul>
           <li>Torsten Mandelkow</li><li>Matthias Einig</li>           </ul>
           </p>
           
		   <DIV class="OH_CollapsibleAreaRegion">
				<DIV class="OH_regiontitle">Version history</DIV>
				<DIV class="OH_RegionToggle"></DIV>
			</DIV>
			<DIV class="OH_clear"></DIV>  
		   <p>
           <ul>
           <li>1.1 Updated Documentation</li><li>1.0 Initial Recipe</li>           </ul>
		   </p>



     
				</div>			
			</div>
							<div class="OH_feedbacklink"><hr size="1" />SharePoint Software Factory 2010, Version 3.2, see <a href="SPSF_OVERVIEW_800_LICENSE.html">License</a> for more information</div>
				<br />
								</div>
				</div>
					</body>
</html>


